package org.hfy.dto.warehouse;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDate;

/**
 * 库存调整DTO
 * 
 * @author hfy
 * @version 1.0
 */
@Data
public class InventoryAdjustmentDTO {

    /**
     * 调整数量 (正数为盘盈，负数为盘亏)
     */
    @NotNull(message = "调整数量不能为空")
    private Integer adjustmentQuantity;

    /**
     * 调整类型
     */
    @NotNull(message = "调整类型不能为空")
    private String adjustmentType;

    /**
     * 调整原因
     */
    @NotNull(message = "调整原因不能为空")
    private String reason;

    /**
     * 调整日期
     */
    @NotNull(message = "调整日期不能为空")
    private LocalDate adjustmentDate;
} 